package com.wuliu.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wuliu.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.wuliu.common.core.domain.BaseEntity;

/**
 * 单号流水计数器对象 bas_no_counter
 * 
 * @author realue
 * @date 2023-10-24
 */
@ApiModel
public class BasNoCounter
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 单据类型1.标准电子面单 2.大客户单 */
    @Excel(name = "单据类型1.标准电子面单 2.大客户单")
    @ApiModelProperty(value = "单据类型1.标准电子面单 2.大客户单")
    private Integer type;

    /** 当前值 */
    @Excel(name = "当前值")
    @ApiModelProperty(value = "当前值")
    private Long currentValue;

    /** 账套号 */
    @Excel(name = "账套号")
    @ApiModelProperty(value = "账套号")
    private String sysAccount;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setCurrentValue(Long currentValue) 
    {
        this.currentValue = currentValue;
    }

    public Long getCurrentValue() 
    {
        return currentValue;
    }
    public void setSysAccount(String sysAccount) 
    {
        this.sysAccount = sysAccount;
    }

    public String getSysAccount() 
    {
        return sysAccount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("type", getType())
            .append("currentValue", getCurrentValue())
            .append("sysAccount", getSysAccount())
            .toString();
    }
}
